package responses

import (
	"github.com/edgexfoundry/edgex-go/internal/app/dtos"
	"github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common"
)

type ProductProfileResponse struct {
	common.BaseResponse `json:",inline"`
	ProductProfile      dtos.ProductProfile `json:"productProfile"`
}

func NewProductProfileResponse(requestId string, message string, statusCode int, productProfile dtos.ProductProfile) ProductProfileResponse {
	return ProductProfileResponse{
		BaseResponse:   common.NewBaseResponse(requestId, message, statusCode),
		ProductProfile: productProfile,
	}
}
